.route-container {
  width: 100%;
}

.route-header {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-text);
  padding: 10px;
  font-size: 14px;
}

.route-content {
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
}

/* Container for individual action */
.individual-action {
  margin: 0;
  padding: 0;
}

.action-component {
  display: flex;
  padding: 6px 16px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 200ms ease;
}

.action-component:hover {
  background-color: var(--hover-bg);
}

.action-component.selected {
  background-color: var(--selected-bg);
}

.action-component-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.action-component-text {
  flex: 1;
}

/* Input styling */
.actionname {
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-primary);
  width: 100%;
  padding: 2px 0;
}

.actionname::placeholder {
  color: var(--text-secondary);
}

.actionname:focus {
  outline: none;
}

/* Button styling */
.time-button,
.jump-button,
.current-location {
  min-width: 90px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 200ms ease;
  margin: 0;
}

.time-button {
  color: var(--text-secondary);
  background: transparent;
}

.jump-button {
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  display: none;
  transition: all 200ms ease;
}

.jump-button:hover {
  background: var(--text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.current-location {
  color: var(--color-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--color-primary);
}

/* Hide/show button transitions */
.action-component:hover .time-button {
  display: none;
}

.action-component:hover .jump-button {
  display: block;
}

.current-snap {
  font-weight: 700;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-primary);
  width: 100%;
  padding: 2px 0px;
}
